package com.project.mapper;

import com.project.bean.CutPageBean;
import com.project.bean.InfoBean;
import com.project.bean.OrderBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IOrderMapper {
    public List<OrderBean> cutByItem(@Param("start") int start,@Param("pageSize") int pageSize,
                                        @Param("recevier") String recrvier,
                                        @Param("address") String address);
    public int cutByCount(@Param("recevier") String recrvier,
                          @Param("address") String address);
    public void addOrder(OrderBean order);
    public void addinfo(@Param("orderId")int orderId,@Param("list") List<InfoBean> list);
    public OrderBean findById(int id);
}
